<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
    <head>
        <title></title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <base href="<?= base_url(1); ?>" />
        <link type="text/css" href="css/main.css?v=<?= $config['version'] ?>" rel="stylesheet" />
        <style type="text/css">
            #ss {
                color:blue;
            }
        </style>
    </head>
    <body>
        <?php include(VIEWPATH . 'common/main_header.php'); ?>
        <form action="" method="POST" id="rowForm" enctype="multipart/form-data">
            <table width="100%" border="0" cellspacing="1" cellpadding="0" class="tablegrid tableedit">
                <tr align="left">
                    <th colspan="2" align="left"><?= $title ?></th>
                </tr>
                <tr>
                    <td id='ss'><?= translate('TYPE') ?>:</td>
                    <td>
                        <select name='type' id='type'>
                            <option value=""><?= translate('PLASE_SELECT') ?></option>
                            <option value='multi_player_seal'><?= translate('SEAL_EXCEL_PLAYER') ?></option>
                            <option value='multi_account_seal'><?= translate('SEAL_EXCEL_ACCOUNT') ?></option>
                        </select>
                    </td>                
                </tr>
                <tr><td id='ss'><?= translate('SEAL_EXCEL_UPLOAD') ?>:</td>
                    <td>
                        <input type="file" name='file' id='file' />&nbsp;&nbsp;<img src='images/!.gif' /><font color='red'><?= translate('FILE_NAME')?></font>                 
                    </td>
                </tr>          
                <tr><td></td><td><input type="submit" value="<?= translate('SUBMIT') ?>" id="submit"/></td></tr>
            </table>
        </form>
        <script type="text/javascript">
            SG.init("core.form", function() {
                $.formValidator.initConfig({formid: "#rowForm", submitonce: true});
                $("#type").formValidator({empty: false, onshow: '<?= translate('PLASE_SELECT') ?>'}).inputValidator({min: 1, onerrormin: '<?= translate('C_NOT_EMPTY') ?>'});
            });
        </script>
    </body>
</html>
